package com.fzkj.shejimoshi.decorator;

/**
 * @DESCRIPTION: TODO 抽象装饰类
 * @AUTHOR: AnotherOne
 * @DATE: 2021/8/16 15:45
 */
public abstract class ShapeDecorator implements Shape {

    protected Shape shape;
    public ShapeDecorator(Shape shape){
        this.shape = shape;
    }

    @Override
    public void draw() {
        shape.draw();
    }
}
